package wint.dal.jdbc.util;

import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.Statement;

public class SqlUtil {
	
	public static void close(Connection conn) {
		try {
			if (conn != null) {
				conn.close();
			}
		} catch (Exception e) {
			// igore
		}
	}
	
	public static void close(Statement s) {
		try {
			if (s != null) {
				s.close();
			}
		} catch (Exception e) {
			// igore
		}
	}
	
	public static void close(ResultSet rs) {
		try {
			if (rs != null) {
				rs.close();
			}
		} catch (Exception e) {
			// igore
		}
	}

}
